package com.jiazhong.重写.Test;

public class Student extends Person{
    private String id;
    private int score;

    public Student(String name, int age) {
        super(name, age);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    @Override
    public String Say() {
        return "姓名："+getName()+" 年龄："+getAge()+" id："+id+"成绩："+score;
    }
}
